package com.chinaunicom.bigdata.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chinaunicom.bigdata.dao.IpAddrBeanMapper;
import com.chinaunicom.bigdata.model.IpAddrBean;
import com.chinaunicom.bigdata.service.IIpAddrService;

@Service
public class IpAddrServiceImpl implements IIpAddrService {

	@Resource
	IpAddrBeanMapper mapper;
	
	@Override
	public int insert(IpAddrBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(IpAddrBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<IpAddrBean> query(IpAddrBean record) {
		// TODO Auto-generated method stub
		return mapper.query(record);
	}
	
	@Override
	public List<IpAddrBean> queryByIp(IpAddrBean record) {
		// TODO Auto-generated method stub
		return mapper.queryByIp(record);
	}
}
